The player will press the space bar to shoot the ball. Click on the Codesters tab in the Toolkit.
- From , drag Space Bar to the bottom of your program.
- Delete the line of coded that reads ····sprite.jump(5)¬
- Go to and drag Sprite Gravity on after the line ····#·add·other·actions...¬
- Change the name in the .set_gravity_on() command to ball.
To navigate the page using the TAB key, first press ESC to exit the code editor.